﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace work_log {
    /// <summary>
    /// 用户信息
    /// </summary>
    public static class UserInfo {
        /// <summary>
        /// 用户Id
        /// </summary>
        public static System.Guid uid { get; set; }

        /// <summary>
        /// 用户代码
        /// </summary>
        public static string uCode { get; set; }

        /// <summary>
        /// 用户名称
        /// </summary>
        public static string uName { get; set; }

        /// <summary>
        /// 用户密码
        /// </summary>
        public static string uPassword { get; set; }

        /// <summary>
        /// 用户旧密码(仅限修改密码时使用)
        /// </summary>
        public static string oldPass { get; set; }

        /// <summary>
        /// 用户状态
        /// </summary>
        public static string uStatus { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public static System.DateTime createDate { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public static System.DateTime updateDate { get; set; }

        /// <summary>
        /// 是否拥有管理员权限
        /// </summary>
        public static bool IsAdmin { get; set; }
    }

    public static class WorkLogInfo {
        public static Guid wId { get; set; }
    }
}
